<?php
declare (strict_types=1);

namespace hiduoke\controller;

use think\App;


/**
 * 控制器基础类
 */
abstract class FrontendController extends BaseController
{
    protected $visit_type = 'index';

    protected $notLogin = '*';

    protected $notCheck = '*';

    /**
     * 构造方法
     * @access public
     * @param App $app 应用对象
     */
    public function __construct(App $app)
    {
        parent::__construct($app);
    }

    public function getDkSys()
    {
        $dkSys = parent::getDkSys();
        $dkSys['project_type'] = 'addon';
        return $dkSys;
    }
}
